package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 过敏史
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 11:24:55
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "过敏史")
public class BHl7GmSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人识别号
     */
    @Schema(description = "病人识别号")
    @NotEmpty(message = "请填写病人识别号")
    @Size(max = 32, message = "病人识别号长度不能超过{max}")
    private String patientIdent;
    /**
     * 住院号
     */
    @Schema(description = "住院号")
    @Size(max = 32, message = "住院号长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 过敏类型DA药品LA花粉FA食物
     */
    @Schema(description = "过敏类型DA药品LA花粉FA食物")
    @Size(max = 16, message = "过敏类型DA药品LA花粉FA食物长度不能超过{max}")
    private String typeIdent;
    /**
     * 过敏类型名称
     */
    @Schema(description = "过敏类型名称")
    @Size(max = 32, message = "过敏类型名称长度不能超过{max}")
    private String typeName;
    /**
     * 过敏名称
     */
    @Schema(description = "过敏名称")
    @Size(max = 256, message = "过敏名称长度不能超过{max}")
    private String gmName;
    /**
     * 过敏源代码
     */
    @Schema(description = "过敏源代码")
    @Size(max = 16, message = "过敏源代码长度不能超过{max}")
    private String gmyCode;
    /**
     * 过敏源名称
     */
    @Schema(description = "过敏源名称")
    @Size(max = 32, message = "过敏源名称长度不能超过{max}")
    private String gmyName;
    /**
     * 皮试结果描述
     */
    @Schema(description = "皮试结果描述")
    @Size(max = 255, message = "皮试结果描述长度不能超过{max}")
    private String psDesc;
    /**
     * 过敏情况描述
     */
    @Schema(description = "过敏情况描述")
    @Size(max = 255, message = "过敏情况描述长度不能超过{max}")
    private String gmDesc;
    /**
     * 是否自定义插入
     */
    @Schema(description = "是否自定义插入")
    @NotNull(message = "请填写是否自定义插入")
    private Integer isDiy;
    /**
     * 
     */
    @Schema(description = "")
    @NotNull(message = "请填写")
    private Integer isDeleted;



}
